﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.Auth.Domain.Entity
{
    public class LeaveModel:BaseEntity
    {
        public string LeaveName {  get; set; }
        public int Department {  get; set; }
        /// <summary>
        /// 请假类型 事假，病假，婚假，丧假，产假
        /// </summary>
        public string OptionType {  get; set; }

        public  string LeaveTimeMessage {  get; set; }//请假时间信息
        public DateTime BeginTime { get; set; }
        public DateTime EndTime {  get; set; }
        public int WorkTime {  get; set; }//总工时
        public DateTime CheckTime {  get; set; }//报道时间
        public string DepartmentHead {  get; set; }//部门领导/审批人
        public string leaveReason {  get; set; }//请假事由
        public bool Status {  get; set; }
        public int Del { get; set; } = 0;

        public int? LeaveType { get; set; } = 0; //1通过，2不通过
        public string? LeaveError {  get; set; } //不通过原因
        
        public int? ShenType { get; set; } = 0;//1驳回 2通过 3待审核

        public int? AuditStep { get; set; } = 0;//当前审批步骤

        public string? AuditNowName {  get; set; }//当前审批人
    }
}
